package com.skyable.account;

import com.skyable.common.annotation.SaScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author GaoYuan
 * @title: CloudAccountApplication
 * @projectName spring-cloud-demo
 * @description: TODO
 * @date 2021/3/712:31
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@ComponentScan("com.skyable")
@SaScan(path = "com.skyable.common.api.cloud", url = "${skyable.feign.client.address}")
public class CloudAccountApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudAccountApplication.class,args);
    }
}
